package com.gzhu.knowledgeAdmin.repository;

import com.gzhu.knowledgeAdmin.entity.VariableType;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 变量 dao
 * Integer 为主键类型
 */
@Repository(value = "variableTypeRepository")
public interface VariableTypeRepository extends JpaRepository<VariableType,Integer> {

    VariableType getVariableTypeByName(String name);

}
